/*
 * 百度在线网络技术（北京）有限公司拥有本软件版权2021并保留所有权利。
 * Copyright 2021, Baidu.com,Inc 2:Baidu Online Network Technology (Beijing) Co.,Ltd,
 * All rights reserved.
 */

package com.azdebugit.www.cnblogs.com.junma.com.zte.zoo.keeper.configuration;

import com.google.gson.Gson;

public class GsonUtils {
    private static Gson gson = new Gson();

    public static String toJson(Object obj) {
        return gson.toJson(obj);
    }
    public static Object fromJson(String json, Class cla) {
        return gson.fromJson(json, cla);
    }
}